home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
ReNamer 5.40
/
ReNamer.exe
/
{app}
/
Scripts
/
User defined functions.pas
< prev
Wrap
Pascal/Delphi Source File
|
2007-02-13
|
453b
|
21 lines
procedure DoSomething(var Parameter: WideString);
begin
// Do something here with Parameter.
// Original passed variable will be changed,
// because Parameter has been passed as a Var.
end;
function DoAnother(Parameter: WideString): WideString;
begin
// Do something here with Parameter,
// and return Result as a string.
Result := '';
end;
var
S: WideString;
begin
DoSomething(S);
FileName := DoAnother(S);
end.